// 用户相关的请求API
import { request } from "@/utils/main.js"

//登录请求
export const postLogin = (dataForm) => {
  return request({
        url: "/authorizations",
        method: "POST",
        data: dataForm
    })
}

// 获取用户信息
export const getUserInfo = () => {
    return request({
        url: "/user/profile",
        method: "GET"
    })
}
